package com.shadowlight.hero_story.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 用户的移动状态用来计算移动中刷新页面或者刚登陆遇到其他正在移动的用户时来计算是否继续移动，放到前端减少后端计算开销
 * @Author cz
 * @Date 2022/2/28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private int id;
    private String userName;
    private String heroAvatar;
    private int currentHeap;
    private MoveState moveState;
    private boolean isDied;
}
